package com.app.teadoor.basis;

import android.os.Environment;

public class Constants {


	public final static int GOODSDATARESULT = 77;
	public final static int SCANDATASULT = 78;
	///1工单、2领料、3退料、4入库
	public static final String GD = "1",LL = "2",TL= "3",RK = "4";


	//数据透传  服务的 UUID 为 0xFF00 = 0000ff00
	public static String DATA_TRANSMISSION= "0000ffe0-0000-1000-8000-00805f9b34fb";
	//蓝牙的特征值，发送
	public final static String SERVICE_EIGENVALUE_SEND = "0000ffe1-0000-1000-8000-00805f9b34fb";
	//蓝牙的特征值，接收
	public final static String SERVICE_EIGENVALUE_READ = "0000ffe1-0000-1000-8000-00805f9b34fb";



	/**读码结果发送的广播action*/
	public final static String ACTION_UHF_RESULT_SEND = "nlscan.intent.action.uhf.ACTION_RESULT";
	/**读码结果发送的广播Extra*/
	public final static String EXTRA_TAG_INFO = "tag_info";


//	 public static final boolean DEBUG = false;
	public static final boolean DEBUG = true;

	// 正式服务器
	public static final String URL_SERVICE ="";


	public static String URL_API = "/";
//	public static String URL_API = "http://192.168.1.108:9296/";
	public static String URL_API_LOGIN = URL_API;

	public static String URL_API_IMG = URL_API+"tmins/image?p=";
	public static String URL_API_IMG_COMMON = URL_API+"common/image?p=";

	//用户管理-登录
	public static String URL_LOGIN = URL_API_LOGIN+"users/login";

	//生成管理-根据rfid查询出入库
	public static String URL_WORK_GET_WORKS_IN_OUT = URL_API_LOGIN+"work/getWorksInOut";
	//通道门通过rfid返回领料    1：整板      0 ：非整板  领料
	public static String URL_WORK_RETURN_MFS_BY_RFID = URL_API_LOGIN+"work/returnMfsByRfid";
	//通道门领料出库批量更新
	public static String URL_WORK_UPDATE_BATCH= URL_API_LOGIN+"work/updatebatch";





	//更新
	public static String URL_UPDATE_XF = URL_API+"user/api/v1/sysAppVersion/getLastVersion";


    //登录-登录
    public static String URL_USER_REFRESH_TOKEN = URL_API+"user/open/refreshToken";
	//登录-登录
	public static String URL_LOG_OUT = URL_API+"logout";
    //获取用户信息
    public static String URL_USER_INFO = URL_API+"user/api/v1/user/queryUserInfo";
	//登录-短信验证码
	public static String URL_LOGIN_MSGCODE = URL_API+"user/open/api/v1/captcha/add";
	//登录-注销
	public static String URL_LOGIN_LOGOUT = URL_API+"logout";
	//用户-修改密码
	public static String URL_USER_MODIFY_PWD= URL_API+"user/api/v1/user/changePwd";
	//用户-更新密码-找回密码
	public static String URL_USER_FIND_PWD = URL_API+"user/api/v1/user/updatePassWord";






	public static String FILE_PREFIX = "file://";
	public static String DRAWABLE_PREFIX = "drawable://";
	public static int PAGE_SIZE = 10;

	public static final String TEL = "";

	public static final long TIME_DELAY = 500;


	public static final int COLLECT_IMG_MAX = 6;

	/**
	 * 程序目录
	 */
	public static final String DIR = Environment.getExternalStorageDirectory()
			+ "/FFFireRescue/";
	public static final String DIR_IN = BasisApp.getInstance().getFilesDir().getPath()
			+ "/";

	public static final String DIR_DOWNLOAD = DIR + "download/";
	public static final String DIR_TEMP = DIR + "temp/";
	public static final String DIR_LOG = DIR + "log/";
	public static final String DIR_FILE = DIR + "file_/";
	public static final String DIR_FILECACHE = DIR + "file/";

	public static final int MAX_ZOOM_VISIABLE_LEVEL = 13;

}
